<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title><c:out value="${title}" /> - 狗东电商 GD.COM</title>
	<link href="../css/before/daohang.css" rel="stylesheet" type="text/css" />
	<link href="../css/before/common.css" rel="stylesheet" type="text/css" />
	<link href="../css/before/style.css" rel="stylesheet" type="text/css" />
	<style>
		.pName {
			display: inline-block;
			text-overflow: ellipsis;
			width: 100%;
			overflow: hidden;
			white-space: nowrap;
		}
	</style>
</head>
<body>
<iframe src="/head" frameborder="0" width="100%"> </iframe>
	<form action="cart.html" name="putcartform" method="post">
		<div class="blank"></div>
		<div class="block clearfix ared">
			<div class="location">
				当前位置：<a href="/">首页</a> > <c:out value="${title}" />
			</div>
			<div class="blank"></div>
			<div class="itemgood_nr clearfix ared">
				<ul>
					<c:forEach items="${products}" var="product">
						<li>
							<div>
								<p class="pic">
									<a href="/product/detail?id=${product.id}">
										<img src="${product.gpicture}" /></a>
								</p>
								<p class="wz">
									<strong><a class="pName"  href="/product/detail?id=${product.id}">${product.gname}</a></strong>
									<em>现价:<span>￥${product.grprice}</span></em>
								</p>
							</div>
						</li>
					</c:forEach>
				</ul>
			</div>
		</div>
	</form>
</body>
</html>
